import { gameConfigHandle } from "core/config/gameConfig"
import { PlayerModel } from "core/model/playerModel"
import { BattleResult } from "core/typeDefine/typeDefine"
import utils from "core/utils/utils"
import bagHandle from "./bagHandle"
import Random from "core/utils/random"
import playerHandle from "./playerHandle"

class AreaCsPlayHandle {

    getAreaCsTimes(player: PlayerModel, isMonthVip: boolean, isYearVip: boolean) {
        let { vipLvl } = playerHandle.getVip(player)

        let vipConfig = gameConfigHandle.gameConfig.vip
        let areaCsConfig = gameConfigHandle.gameConfig.areaCs
        let areaCsTimes = areaCsConfig.areaCsTimes + vipConfig.vipAdd.areaCsTimes[vipLvl]
        return areaCsTimes
    }


}

let areaCsPlayHandle = new AreaCsPlayHandle()
export default areaCsPlayHandle